package com.lhz.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author LiGezZ
 * @Date 2021/08/09 21:39:13
 * @Description: 定时任务日志
 */
@Data
@TableName("job_log")
public class JobLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId("id")
    private Long id;

    /**
     * 任务ID
     */
    private Long jobId;

    /**
     * 任务执行器地址
     */
    private String executorAddress;

    /**
     * 任务执行器Bean对象.方法名称
     */
    private String executorHandler;

    /**
     * 任务执行参数
     */
    private String executorParam;

    /**
     * 执行状态：success、fail
     */
    private String handleState;

    /**
     * 执行信息
     */
    private String handleMsg;

    /**
     * 耗时
     */
    private Double handleTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
